import http from "@/utils/http";
import axios from "axios";


export const loginAPI = ({ username, password }) => {
    // return http({
    //     url: '/admin/acl/index/login',
    //     method: "post",
    //     data: {
    //         username,
    //         password
    //     }
    // })
    return axios.post('/api/user/login', { username, password })
}